.global _start @

_start:

    ldr r0, =0x020C4074
    ldr r1, =0xFFFFFFFF

    ldr r2, [r0]
    and r2, r1
    ldr r1, =0x03000000
    orr r2, r1
    str r2, [r0]

    ldr r0, =0x020E0068
    ldr r1, =0x00000005
    str r1, [r0]

    ldr r0, =0x020E02F4
    ldr r1, =0x00001070 @ 0 0001 0000 0111 0000 | 0 0001 0000 1011 0000
    str r1, [r0]
    
    ldr r0, =0x0209C004
    ldr r1, =0x8
    str r1, [r0]

    ldr r0, =0x0209C000
    ldr r1, =0x0
    str r1, [r0]

loop:
    b loop
